//
//  AppDelegate.h
//  sqliteToEnity
//
//  Created by hament on 13-7-29.
//  Copyright (c) 2013年 hament. All rights reserved.
//

#import <Cocoa/Cocoa.h>
@class DragTextField,SqliteToEnityController,PlistJsonVC;

@interface AppDelegate : NSObject <NSApplicationDelegate,NSTableViewDataSource,NSTableViewDelegate,NSSharingServiceDelegate,NSAnimationDelegate> {
@private
NSArray * _functionDataSource;
    
NSArray * _supportDataSource;

}
@property (strong) IBOutlet NSView *rootView;

@property (assign) IBOutlet NSWindow *window;

@property (strong) IBOutlet NSImageView *sideImageView;

@property (strong) SqliteToEnityController * sqlVC;

@property (strong) IBOutlet NSTableView *functionTable;
@property (weak) IBOutlet NSTableView *supportTable;

@property (weak) IBOutlet NSBox *toolBox;
@property (weak) IBOutlet NSBox *supportBox;
@property (weak) IBOutlet NSBox *shareBox;

@property (strong,nonatomic) PlistJsonVC * plistJsonVC;

@property (strong) IBOutlet NSButton *emailBtn;




@property (strong) IBOutlet NSView *remindIngView;

@property (strong) IBOutlet NSImageView *doneImgView;
@property (strong) IBOutlet NSTextView *remindTv;
@property (strong) IBOutlet NSProgressIndicator *spinindicator;

@property(strong,nonatomic)NSMutableSet * controllerSet;





//share items
- (IBAction)sendEmail:(NSButton *)sender;
- (IBAction)sendTwitter:(NSButton *)sender;
- (IBAction)sendFb:(NSButton *)sender;
- (IBAction)sendWb:(NSButton *)sender;
//弹出 email
-(void)SupportEmail;

//添加和移除全局提示
-(void)addGlobalRemind;
-(void)finishProcessing;
-(void)removeGlobalRemind;


//support table触发
-(void)supportTableActionWithIndex:(NSInteger)index;


@end
